<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>档案管理系统</title>
    <link rel="stylesheet" href="../../plugins/bootstrap-3.3.7-dist/css/bootstrap.min.css">
    <link rel="stylesheet" href="../../plugins/bootstrapvalidator/css/bootstrapValidator.min.css">
    <link rel="stylesheet" href="../../plugins/bootstrape3-dialog/css/bootstrap-dialog.min.css">
    <style>
        *{
            margin:0;
            padding:0;
        }

        body{
            margin:0;
            padding:0;
            height:100%;
            width:100%;
            font-family:"宋体","Arial Narrow";
        }
        table thead tr{
            background-color: #92c6f9;
            color: #000;
        }
        .table-condensed thead tr{
            background-color: #fff;
            color: #000;
        }

    </style>
    <script src="../../ProjectScripts/common/respond.js"></script>

    <script src="../../plugins/jquery.min.js"></script>
    <script src="../../plugins/bootstrap-3.3.7-dist/js/bootstrap.min.js"></script>
    <script src="../../plugins/bootstrapvalidator/js/bootstrapValidator.js"></script>
    <script src="../../plugins/bootstrapvalidator/js/language/zh_CN.js"></script>
    <script src="../../plugins/bootstrape3-dialog/js/bootstrap-dialog.min.js"></script>
    <script>
        //全局的ajax访问，处理ajax清求时sesion超时
        $.ajaxSetup({
            contentType:"application/x-www-form-urlencoded;charset=utf-8",
            complete:function(XMLHttpRequest,textStatus){
                var sessionstatus=XMLHttpRequest.getResponseHeader("sessionstatus"); //通过XMLHttpRequest取得响应头，sessionstatus，
                if(sessionstatus=="timeout"){
                    //如果超时就处理 ，指定要跳转的页面
                    window.top.location.href="/login/landingPage";
                }
            }
        });
    </script>
</head>
</html>